﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nop.Services.Logistics
{
    public class Charge
    {
        public Charge()
        {
            Warnings = new List<string>();
            PackageCharges = new List<decimal>();
            AddtionalCharges = new List<decimal>();
        }
        public IList<string> Warnings { get; set; }
        public List<decimal> PackageCharges { get; set; }
        public List<decimal> AddtionalCharges { get; set; }
        public decimal SubTotalExclTax { get; set; }
        public decimal SubTotalInclDiscount { get; set; }
        public decimal FuelSurchargeExclTax { get; set; }
        public decimal Tax { get; set; }
        public decimal Total { get { return SubTotalInclDiscount + FuelSurchargeExclTax + Tax; } }
    }
}
